<?php
require_once ('model/BaseModel.class.php');
class HomeModel extends BaseModel {
	public function getSaludo() {
		$sentencia = $this->db->prepare ( 'select saludo from saludos' );
		$sentencia->execute ();
		$db = null;
		return ($sentencia->fetchObject()->saludo);
	}
}